package com.xuecheng.framework.model.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@ToString
@Getter
public class QueryResponseResult<T> extends ResponseResult {

    @ApiModelProperty("返回的查询数据")
    QueryResult<T> queryResult;

    public QueryResponseResult(ResultCode resultCode, QueryResult<T> queryResult) {
        super(resultCode);
        this.queryResult = queryResult;
    }

    private QueryResponseResult() {

    }
}
